package com.cn.proxy.staticproxy;

public class ProxySubject implements Subject {

	private Subject subject;

	public ProxySubject(Subject subject) {
		this.setSubject(subject);
	}

	public Subject getSubject() {
		return subject;
	}

	public void setSubject(Subject subject) {
		this.subject = subject;
	}

	@Override
	public void sing() {
		System.out.println("log info haow ............");
		subject.sing();

	}

	@Override
	public void ssy() {
		System.out.println("proxy ssy()...........");
	}

}
